package com.engineering.elink.dao;

import java.util.List;
import java.util.Map;

import com.engineering.elink.domain.Region;

public interface RegionMapper {
    int deleteByPrimaryKey(Integer regionId);

    int insert(Region record);

    int insertSelective(Region record);

    Map<String,Object> selectByPrimaryKey(Integer regionId);

    int updateByPrimaryKeySelective(Region record);

    int updateByPrimaryKey(Region record);
    
    List<Map<String,Object>> selectAll ();
    
    
    List<Map<String,Object>> selectByProvinceId (int provinceId);
    
    List<Map<String,Object>> selectHotRegion ();
}